//
//  ClockModel.h
//  YuTang
//
//  Created by 葛悦彣 on 2024/8/12.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class pondModelListModel,TemplateFoundDetailsTaskItemModelListModel;
@interface ClockModel : NSObject

///任务指派人id;逗号分割
@property (nonatomic ,strong) NSString * appointorId;
///任务指派人;逗号分割
@property (nonatomic ,strong) NSString * appointorName;
@property (nonatomic ,strong) NSString * appointorNameStr;
///任务下发时间
@property (nonatomic ,strong) NSString * createTime;
///任务说明
@property (nonatomic ,strong) NSString * Description;
///配置选项:0:默认,无需配置 1:统一配置 2:分别配置
@property (nonatomic ,assign) int configureItem;

@property (nonatomic ,assign) CGFloat DescriptionStrH;

///任务执行时间
@property (nonatomic ,strong) NSString * executeTime;
///主键id
@property (nonatomic ,strong) NSString * ID;
///合并打卡
@property (nonatomic ,strong) NSMutableArray< NSString *> * mergeList;

///任务名称
@property (nonatomic ,strong) NSString * name;
/// 模板任务类型id;用于比较模板任务类型,不可删除
@property (nonatomic ,strong) NSString * templateTasktypeId;

///池塘编组id
@property (nonatomic ,strong) NSString * tissueId;
@property (nonatomic ,strong) NSString * tissueName;
@property (nonatomic ,strong) NSString * tissueNameStr;
@property (nonatomic ,assign) CGFloat tissueNameStrH;

///排序
@property (nonatomic ,assign) NSInteger sort;
///任务所属:1:投苗任务 2:巡检任务 3:水质检测任务 4:出塘任务 5:其他任务
@property (nonatomic ,assign) NSInteger sortOut;
@property (nonatomic ,assign) CGFloat HeaderView;
@property (nonatomic ,assign) CGFloat HeaderTopView;
@property (nonatomic ,assign) CGFloat FooterViewH;
@property (nonatomic ,assign) CGFloat FooterPhoneViewH;
@property (nonatomic ,assign) CGFloat appointorNameH;

///任务选择池塘列表
@property (nonatomic ,strong) NSMutableArray<pondModelListModel *> * pondModelList;
///
@property (nonatomic ,strong) NSMutableArray<pondModelListModel *> * copynamepondModelList;


///统一配置时使用的多选任务
@property (nonatomic ,strong) TemplateFoundDetailsTaskItemModelListModel * superTaskModel;
@property (nonatomic ,strong) NSMutableArray< TemplateFoundDetailsTaskItemModelListModel *> * superTaskModelArray;

///提交时使用

///池塘照片;逗号分割,最多6张
@property (nonatomic ,strong) NSString * cardImg;
@property (nonatomic ,strong) NSMutableArray<NSString *> * cardImgArray;
@property (nonatomic ,strong) NSMutableArray<NSString *> * TJcardImgArray;
///指导视频
@property (nonatomic ,strong) NSString * videoUrl;

///语音备注
@property (nonatomic ,strong) NSString * voiceUrl;
@property (nonatomic ,strong) NSString * TJvoiceUrl;

@property (nonatomic ,strong) NSString * voiceDuration;
@property (nonatomic ,strong) void(^openDurationBlock)(NSString *voiceDuration);

///任务下发类型 0:系统下发 1:手动新增
@property (nonatomic ,assign) NSInteger issueCode;

///提交打开的hud
- (NSString *)TJHUDStr;
///提交
- (NSMutableDictionary *)TjDict;

@end

NS_ASSUME_NONNULL_END
